﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using TiPort.TiEntityObjects;
using TI;

namespace TiEntityObject.Notification
{
    public class NotificationContactInfo 
    {
        public Int64 NotificationID { get; set; }

        [XmlElement("orgName")]
        public string OrgName { get; set; }
        
        [XmlElement("orgFactAddress")]
        public string OrgFactAddress { get; set; }
        
        [XmlElement("orgPostAddress")]
        public string OrgPostAddress { get; set; }
        
        [XmlElement("contactPerson")]
        [LinkObjectAttribute(ChildFieldName = "NotificationID", IsPartialObject = true, ParentFieldName = "NotificationID")]
        public NotificationContactInfoContactPerson ContactPerson { get; set; }
        
        [XmlElement("contactEMail")]
        public string ContactEMail { get; set; }
        
        [XmlElement("contactPhone")]
        public string ContactPhone { get; set; }
        
        [XmlElement("contactFax")]
        public string ContactFax { get; set; }
    }

}
